package org.codeart.flyweight.demo2;

/**
 * 五子棋抽象享元类
 */
public abstract class GobangFlyweight {
    
    public abstract String getColor();
    
    public void display() {
        System.out.println("棋子颜色: " + getColor());
    }

}
